package com.study.lease.common.exception;

import io.swagger.v3.oas.annotations.Hidden;
import lombok.Data;
@Hidden
@Data
public class LeaseException extends RuntimeException{
    private Integer code;

    public LeaseException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
